package cn.liccshop.core.backstage.sysUser.mapper;

import cn.liccshop.core.entity.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author LiCC
 * @since 2019-04-05
 */
public interface SysUserMapper extends BaseMapper<SysUser> {

    /**
     * 管理员登录后再通过id获取用户信息
     * @param id
     * @return
     */
    List<Map<String, Object>> selectLoginInfoByUserId(String id);
}
